﻿using System;
using System.Collections.Generic;
using System.Text;

namespace X3DLib
{
    public class ImageTexture:X3DObject
    {

        private string Url;
        /// <summary>
        /// 图片路径
        /// </summary>
        public string url
        {
            get { return Url; }
            set { Url = value; }
        }
        private string RepeatS;
        /// <summary>
        /// 是否允许重复贴图
        /// </summary>
        public string repeatS
        {
            get { return RepeatS; }
            set { RepeatS = value; }
        }
        private string RepeaT;
        /// <summary>
        /// 是否允许重复贴图
        /// </summary>
        public string repeaT
        {
            get { return RepeaT; }
            set { RepeaT = value; }
        }
        /// <summary>
        /// 贴图
        /// </summary>
        /// <param name="url">图片路径，可以有过个图片</param>
        public ImageTexture(string url)
        {
            this.url = url;
        }
    }
}
